package com.yequan.work;

/**
 * @author yequan
 * @date 2021/06/11 09:22
 **/
public class LogicCalculate {

    public static void main(String[] args) {
        and();
    }

    public static void and() {
        //删除标志: 0:未被删除,1:被乘客删除,2:被车主删除,3:被乘客车主共同删除
        Integer status = 3;
        if (0 == status || status.intValue() == 1) {
            System.out.println("车主未被删除");
        } else {
            System.out.println("车主已被删除");
        }

        if (0 == status || status.intValue() == 2) {
            System.out.println("乘客未被删除");
        } else {
            System.out.println("乘客已被删除");
        }
    }

}
